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