void Start() { if (speedMovement > 12) { speedMovement = 12; } GetComponent <Animator>().speed = 0; initialPosition = transform.position; comeCocos = GameObject.Find("come_cocos").GetComponent <ComeCocos>(); StartCoroutine(startWithDelay()); }
void Start() { comeCocos = GameObject.Find("come_cocos").GetComponent <ComeCocos>(); }
void Start() { comeCocos = GameObject.Find("come_cocos").GetComponent <ComeCocos>(); minSwipeDistY = Screen.width * 0.15f; minSwipeDistX = Screen.width * 0.15f; }