Ejemplo n.º 1
0
            static CreatureBoardAsset RemoveTargetFromNearestCreature()
            {
                CreatureBoardAsset creatureBoardAsset = Minis.GetCreatureClosestTo(Flashlight.GetPosition(), maxDistanceToNearestCreatureFt);

                if (creatureBoardAsset == null)
                {
                    return(null);
                }
                RemoveTargetFrom(creatureBoardAsset);

                return(creatureBoardAsset);
            }
Ejemplo n.º 2
0
            private static void DropTargetAtFlashlight()
            {
                Vector3 targetPosition = Flashlight.GetPosition();

                AddTarget(targetPosition, Flashlight.Get().transform, 1);
            }
Ejemplo n.º 3
0
 static CreatureBoardAsset GetNearestCreature()
 {
     return(Minis.GetCreatureClosestTo(Flashlight.GetPosition(), maxDistanceToNearestCreatureFt));
 }