Beispiel #1
0
    public static AntonovSuitManager addAntonovSuitManager()
    {
        GameObject go = new GameObject("AntonovSuitManager");

        go.AddComponent("AntonovSuitManager");

        Selection.activeGameObject = go;
        AntonovSuitManager s_AntonovSuitManager = go.GetComponent <AntonovSuitManager>();

        Undo.RegisterCreatedObjectUndo(go, "Add Sky");
        return(s_AntonovSuitManager);
    }
Beispiel #2
0
    void OnEnable()
    {
        probes = (target as AntonovSuitManager).probes;

        m_target = (AntonovSuitManager)target;
    }