private void Init() { movementJoy = GameObject.Find("MovementJoy").GetComponent<JoystickScripts>(); aimingJoy = GameObject.Find("AimingJoy").GetComponent<JoystickScripts>(); animControl = gameObject.GetComponent<Animator>(); isMoving = false; }
private void Init() { cam = gameObject.GetComponent<Camera>(); defaultOffset = this.gameObject.transform.position; playerObject = GameObject.Find("PlayerObjectContainer"); aimingJoy = GameObject.Find("AimingJoy").GetComponent<JoystickScripts>(); }
void MobileOnly() { if (Application.platform == RuntimePlatform.Android || Application.platform == RuntimePlatform.IPhonePlayer) { mJoy = GameObject.Find("MovementJoy").GetComponent<JoystickScripts>(); aJoy = GameObject.Find("AimingJoy").GetComponent<JoystickScripts>(); } }
void Start() { t = 0.0f; aimingjoy = GameObject.Find("AimingJoy").GetComponent<JoystickScripts>(); }
// Use this for initialization void Start() { mJoy = GameObject.Find("MovementJoy").GetComponent<JoystickScripts>(); aJoy = GameObject.Find("AimingJoy").GetComponent<JoystickScripts>(); am = GameObject.Find("GameController").GetComponent<AnimationModule>(); }
// Use this for initialization void Start() { aimingJoy = GameObject.Find("AimingJoy").GetComponent<JoystickScripts>(); decalController = GameObject.Find("GameController").GetComponent<DecalController>(); }
private void Init() { jss = joystickObject.GetComponent<JoystickScripts>(); t = gameObject.GetComponent<Text>(); }
private void Init() { SetPlayerSpriteObject(this.gameObject); movementJoy = GameObject.Find("MovementJoy").GetComponent<JoystickScripts>(); rb = GetComponent<Rigidbody2D>(); }
private void Init() { aimingJoy = GameObject.Find("AimingJoy").GetComponent<JoystickScripts>(); playerUpperTorsoGroup = GameObject.Find("UpperTorso"); }