|
Guys, i made this weapon movement script but the gun is freezing... I tried to manually activate the function with the var "ON", It worked, but if i maximize the window the weapon keep freezing again :/ var On : boolean; var MoveAmount : float = 1; var MoveSpeed : float = 4; var Weapon : GameObject; private var MoveOnX : float; private var MoveOnY: float; var DefaultPos : Vector3; private var NewGunPos : Vector3; function Update(){ }
(comments are locked)
|
