GameMachine.NpcGroup.CreateFormationPoint C# (CSharp) Method

CreateFormationPoint() private method

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