コード例 #1
0
    void Awake()
    {
        if (Instance != null)
        {
            Debug.LogError("Multiple instances of the SpecialEffectScript script.");
        }

        Instance = this;
    }
コード例 #2
0
    void Awake()
    {
        if (Instance != null)
        {
            Debug.LogError("Existem múltiplas instâncias do script SpecialEffectScript.");
        }

        Instance = this;
    }
コード例 #3
0
    void Awake()
    {
        if (Instance != null)
        {
            Debug.LogError("Existem múltiplas instâncias do script SpecialEffectScript.");
        }

        Instance = this;
    }