Math3D.Init C# (CSharp) Метод

Init() публичный статический Метод

public static Init ( ) : void
Результат void
    public static void Init()
    {
        tempChild = (new GameObject("Math3d_TempChild")).transform;
        tempParent = (new GameObject("Math3d_TempParent")).transform;

                tempChild.gameObject.hideFlags = HideFlags.HideAndDontSave;
                MonoBehaviour.DontDestroyOnLoad(tempChild.gameObject);

                tempParent.gameObject.hideFlags = HideFlags.HideAndDontSave;
                MonoBehaviour.DontDestroyOnLoad(tempParent.gameObject);

        //set the parent
        tempChild.parent = tempParent;
    }