void Start() { currentHealth = MaxHealth; currentMovePoint = MaxMovePoints; currentIndice = StartIndice; prevIndice = currentIndice; selfTrans = transform; MoveToTile(GlobalMap.GetTile(currentIndice)); if (PlayerTileData.filter == PlayerFilter.PLAYER_ONE) { GlobalMap.SetPointTile(StarData); } }
public override void Act(PlayerController ctrl) { GlobalMap.SetPointTile(ctrl.StarData); // Debug.Log("Collected Point!"); }