Ejemplo n.º 1
0
    void Awake()
    {
        if( mInstance != null )
        {
            Debug.LogError( string.Format( "Only one instance of OutroScreen allowed! Destroying:" + gameObject.name +", Other:" + mInstance.gameObject.name ) );
            return;
        }

        mInstance = this;

        StartCoroutine( "DoOutro" );
    }
Ejemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     inst = this;
     StartCoroutine(IntroStep());
 }