Awake() public method

public Awake ( ) : void
return void
Example #1
0
    // Use this for initialization
    void Awake()
    {
        // Directly creat a lua class instance to associate with this monobehavior.
        if (!CreateClassInstance("LgSetParticleSortingLayer") || !m_bReady)
        {
            return;
        }

        m_cBehavior.Awake();
    }
Example #2
0
    // The awake method.
    void Awake()
    {
        // Directly creat a lua class instance to associate with this monobehavior.
        if (!CreateClassInstance("LgRocket") || !m_bReady)
        {
            return;
        }

        m_cBehavior.Awake();
    }
Example #3
0
    // The awake method.
    void Awake()
    {
        // Directly creat a lua class instance to associate with this monobehavior.
        if (!CreateClassInstance("LgBackgroundPropSpawner") || !m_bReady)
        {
            return;
        }

        m_cBehavior.Awake();
    }