21 lines
455 B
C#
21 lines
455 B
C#
using UnityEngine;
|
|
|
|
namespace Code.OfficeGame.BattleMode.Actions.Player
|
|
{
|
|
public class PlayerDecisionMarker : MonoBehaviour
|
|
{
|
|
public bool locked;
|
|
public void Toggle(bool onOff)
|
|
{
|
|
locked = false;
|
|
gameObject.SetActive(onOff);
|
|
}
|
|
|
|
public void MoveMarker(Vector3 position)
|
|
{
|
|
if (locked) return;
|
|
|
|
transform.position = position;
|
|
}
|
|
}
|
|
} |