Nelze vybrat více než 25 témat
Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
Tento repozitář je archivovaný. Můžete prohlížet soubory, klonovat, ale nemůžete nahrávat a vytvářet nové úkoly a požadavky na natažení.
|
- using UnityEngine;
- using System.Collections.Generic;
- using System.Collections;
-
- namespace coa4u
- {
- public class State
- {
- public readonly ActionInstant action;
- public readonly Predicate trigger;
- public readonly string name;
-
- public State(ActionInstant targetAction, string targetName = "")
- {
- action = targetAction;
- name = targetName;
- }
-
- public State(Predicate targetTrigger, ActionInstant targetAction, string targetName = "")
- {
- trigger = targetTrigger;
- action = targetAction;
- name = targetName;
- }
- }
- }
|