// Update is called once per frame void Update() { currentState.Update(); // PathFollow (Path); Pickup(); OpenDoor(); DrawDebugLine(TreasureFind.debugging); DrawPath(TreasureFind.debugging); }
// Update is called once per frame public void Update() { if (prevNode != self.currentNode) { Influence(); prevNode = self.currentNode; } //Influence (); currentState.Update(); }
protected override void Update() { if (IsAlive) { if (!IsAttacking) { MyAttackTime += Time.deltaTime; } currentState.Update(); } if (!IsAlive && !isCounted) { questmanager.MyKilledEnemy = enemyQuestName; isCounted = true; } base.Update(); }
// Update is called once per frame public void Update() { currentState.Update(); }