public void Setup(LSAgent agent) { TrackedAgent = agent; GameObject.DontDestroyOnLoad(gameObject); this.gameObject.name = agent.ToString(); }
public void Setup(LSAgent agent) { }
public override void OnInspectorGUI() { LSAgent agent = (LSAgent)target; }
private void OnChildDie(LSAgent agent) { agent.onDeactivation -= OnChildDie; //Occupied = false; }
public LSAgent SpawnUnit(AgentController controller, string agentCode, Vector2d position) { LSAgent agent = controller.CreateAgent(agentCode, position); return(agent); }
protected virtual void OnApplyEffect(LSAgent agent, bool isCurrent) { }
public AttackerInfo(LSAgent attacker, AgentController controller) { Attacker = attacker; Controller = controller; }