예제 #1
0
 private void Start()
 {
     player            = GameObject.FindGameObjectWithTag("Player");
     grapple           = player.GetComponent <GrapplingManager>();
     flashlightManager = player.GetComponent <FlashlightManager>();//gets flashlight and grapple
 }
예제 #2
0
	private void Awake() {
		targetDirection = Vector2.zero;
		instance = this;
	}