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