示例#1
0
 void Start()
 {
     special    = GetComponentInParent <PlayerSpecial> ();
     canSpecial = GetComponentInParent <PlayerSpecial> ();
     roLo       = GetComponentInParent <RobotLoadout> ();
     StartMovement();
 }
		void Start () {
			roLo = GetComponent<RobotLoadout> ();
			special = GetComponent<PlayerSpecial> ();
			np = FindObjectOfType<NotificationsPanel> ();
			rb = GetComponent<Rigidbody2D> ();
			PlayerSpawn ();
			dodgeAvailable = true;
		}