コード例 #1
0
 public BTThrowSmoke(GameObject smoke, GameObject allyPos, boole underAttack, boole hasAttacked)
 {
     this.smoke       = smoke;
     this.allyPos     = allyPos;
     this.underAttack = underAttack;
     this.hasAttacked = hasAttacked;
 }
コード例 #2
0
 public BTFlyArroundPlayer(boole isAtPlayer, NavMeshAgent agent, GameObject child, GameObject player)
 {
     this.isAtPlayer = isAtPlayer;
     this.agent      = agent;
     this.child      = child;
     this.player     = player;
 }
コード例 #3
0
 public BTMoveAlly(boole hasAttacked, boole isAtPlayer, GameObject child, NavMeshAgent agent, GameObject player)
 {
     this.hasAttacked = hasAttacked;
     this.isAtPlayer  = isAtPlayer;
     this.child       = child;
     this.agent       = agent;
     this.player      = player;
 }
コード例 #4
0
 public BTGoForWeapon(NavMeshAgent agent, GameObject target, boole hasWeapon, boole needsWeaponm, GameObject weaponHolder, GameObject weaponObject, Light light, Color lightCol)
 {
     this.light        = light;
     this.lightColor   = lightCol;
     this.hasWeapon    = hasWeapon;
     this.needWeapon   = needsWeaponm;
     this.weaponHolder = weaponHolder;
     this.weaponObject = weaponObject;
     this.target       = target;
     this.agent        = agent;
 }
コード例 #5
0
ファイル: BTMove.cs プロジェクト: BlackLotusM/KernModule_AI
 public BTMove(NavMeshAgent agent, gameobecte target, TextMeshProUGUI txt, GameObject weaponHolder, boole hasWeapon, boole cantAttack, Light light, Color lightCol)
 {
     this.light        = light;
     this.lightColor   = lightCol;
     this.hasWeapon    = hasWeapon;
     this.cantAttack   = cantAttack;
     this.weaponHolder = weaponHolder;
     this.txt          = txt;
     this.target       = target;
     this.agent        = agent;
 }
コード例 #6
0
 public BTTCheckAtPlayer(boole isAtPlayer)
 {
     this.isAtPlayer = isAtPlayer;
 }
コード例 #7
0
 public BTCheckSmoke(boole isInSmoke, NavMeshAgent agent)
 {
     this.agent     = agent;
     this.isInSmoke = isInSmoke;
 }
コード例 #8
0
        private static bool loaded = false; //Checks if OpenGL Window is active

        public static void setLoaded(boole inpt)
        {
            loaded = inpt;
        }
コード例 #9
0
 public CheckPlayerRange(gameobecte player, boole hasWeapon, boole needsWeapon)
 {
     this.player      = player;
     this.hasWeapon   = hasWeapon;
     this.needsWeapon = needsWeapon;
 }
コード例 #10
0
 public BTCheckAttackDone(boole hasAttacked, NavMeshAgent agent)
 {
     this.hasAttacked = hasAttacked;
     this.agent       = agent;
 }
コード例 #11
0
 public BTCheckAttack(boole underAttack, boole isAtPlayer, NavMeshAgent agent)
 {
     this.underAttack = underAttack;
     this.isAtPlayer  = isAtPlayer;
     this.agent       = agent;
 }
コード例 #12
0
 public FindWeapon(boole needWeapon)
 {
     this.needWeapon = needWeapon;
 }