GameMachine.NpcGroup.CreateFormationPoint C# (CSharp) Méthode

CreateFormationPoint() private méthode

private CreateFormationPoint ( ) : GameObject
Résultat UnityEngine.GameObject
        private GameObject CreateFormationPoint()
        {
            if (showFormationPoint) {
                GameObject go = GameObject.CreatePrimitive(PrimitiveType.Sphere);
                Destroy(go.GetComponent<Collider>());
                return go;
            } else {
                return new GameObject();
            }
        }