// Use this for initialization void Start() { Input.multiTouchEnabled = true; characterMotorScript = objPlayer.GetComponent<CharacterMotor2>(); characterJumpScript = objPlayer.GetComponent<CharacterJump2>(); characterShotScript = objPlayer.GetComponent<CharacterShot>(); }
// Use this for initialization void Start() { theCharacterMotor = gameObject.GetComponent<CharacterMotor2> (); theCharacterJump = gameObject.GetComponent<CharacterJump2> (); theCharacterShot = gameObject.GetComponent<CharacterShot> (); theCharacterDrill = gameObject.GetComponent<CharacterDrill> (); }
void Start() { characterMotor = gameObject.GetComponent<CharacterMotor2>(); characterJump = gameObject.GetComponent<CharacterJump2>(); characterShot = gameObject.GetComponent<CharacterShot>(); }