void Start() { string url = "http://itbullshit.fps.hu/api.php?f=showTheBullshit"; WWW www = new WWW(url); scriptFlesh = (NPCTag)GameObject.Find("Flesh").GetComponent("NPCTag"); scriptPolygonCharacter = (NPCTag)GameObject.Find("BombDisposal").GetComponent("NPCTag"); StartCoroutine(WaitForRequest(www)); }
public override string ToDebugString() { return($"{ToolBox.GetDebugSymbol(isFinished)} {nameof(NPCChangeTeamAction)} -> (NPCTag: {NPCTag.ColorizeObject()})"); }
public void setTarget(NPCTag target, bool flee) { _target = target; _flee = flee; }
public override string ToDebugString() { return($"{ToolBox.GetDebugSymbol(isFinished)} {nameof(NPCFollowAction)} -> (NPCTag: {NPCTag.ColorizeObject()}, TargetTag: {TargetTag.ColorizeObject()}, Follow: {Follow.ColorizeObject()})"); }
public override string ToDebugString() { return($"{ToolBox.GetDebugSymbol(isFinished)} {nameof(CombatAction)} -> (Cooldown: {CoolDown.ColorizeObject()}, CombatMode: {CombatMode.ColorizeObject()}, NPCTag: {NPCTag.ColorizeObject()}, EnemyTag: {EnemyTag.ColorizeObject()})"); }