コード例 #1
0
 void OnTriggerEnter(Collider theCollision)
 {
     if (theCollision.gameObject.tag == playerString && !hasActivated)
     {
         timelinePlaybackManager.PlayerEnteredZone();
         hasActivated = true;
     }
 }
コード例 #2
0
	void OnTriggerEnter(Collider theCollision) {
		if (theCollision.CompareTag(playerString)) {
			timelinePlaybackManager.PlayerEnteredZone();
		}
	}
コード例 #3
0
 void OnTriggerEnter(Collider theCollision)
 {
     timelinePlaybackManager.PlayerEnteredZone();
 }