basic ECS spawner
This commit is contained in:
7
GECS/components/c_velocity.gd
Normal file
7
GECS/components/c_velocity.gd
Normal file
@@ -0,0 +1,7 @@
|
||||
class_name C_Velocity
|
||||
extends Component
|
||||
|
||||
@export var velocity: Vector3 = Vector3.ZERO
|
||||
|
||||
func _init(vel: Vector3 = Vector3.ZERO):
|
||||
velocity = vel
|
||||
Reference in New Issue
Block a user