public Task(GameObject _target, Vector3 _position, TaskManager.TaskType _taskType, int _priority = 1) { target = _target; position = _position; priority = _priority; taskType = _taskType; id++; }
public void SetButtonType(TaskManager.TaskType type) { TurnTypeOn((int)type); SetVisibility(true); }