GetChunk() public method

public GetChunk ( ) : LuaTable
return LuaTable
Ejemplo n.º 1
0
 // Destroy this child gameobject, this can be called from an Animation Event.
 public void DestroyChildGameObject()
 {
     if (m_bReady)
     {
         m_cBehavior.CallMethod(ref m_cDestroyChildObj, "DestroyChildGameObject", m_cBehavior.GetChunk());
     }
 }
Ejemplo n.º 2
0
 /**
  * Call the lua "DeliverPickup" function.
  *
  * @param void.
  * @return void.
  */
 public void DeliverPickup()
 {
     if (m_bReady)
     {
         m_cBehavior.CallMethod(ref m_cDeliverPickupFunc, m_strDeliverPickup, m_cBehavior.GetChunk());
     }
 }
Ejemplo n.º 3
0
 /**
  * Update player health bar.
  *
  * @param void.
  * @return void.
  */
 public void UpdateHealthBar()
 {
     if (m_bReady)
     {
         m_cBehavior.CallMethod(ref m_cUpdateHealthFunc, m_strUpdateHealthFunc, m_cBehavior.GetChunk());
     }
 }
Ejemplo n.º 4
0
 /**
  * The taunt function.
  *
  * @param void.
  * @return void.
  */
 public void Taunt()
 {
     if (m_bReady)
     {
         m_cBehavior.CallMethod(ref m_cTauntFunc, m_strTauntFunc, m_cBehavior.GetChunk());
     }
 }
Ejemplo n.º 5
0
 /**
  * Call the lua function "Explode".
  *
  * @param void.
  * @return void.
  */
 public void Explode()
 {
     if (m_bReady)
     {
         m_cBehavior.CallMethod(ref m_cExplodeFunc, m_strExplodeFunc, m_cBehavior.GetChunk());
     }
 }
    /**
     * Get lua table, the associate lua table class can be accessed by other lua table class at lua side.
     *
     * @param void.
     * @return LuaTable - The lua table class currently associated.
     */
    public LuaTable GetLuaTable()
    {
        if (!m_bReady)
        {
            return(null);
        }

        return(m_cBehavior.GetChunk());
    }
Ejemplo n.º 7
0
 /**
  * Get the lua class instance (Actually a lua table).
  *
  * @param void.
  * @return LuaTable - The class instance table..
  */
 public LuaTable GetInstance()
 {
     return(m_cBehavior.GetChunk());
 }