Пример #1
0
 /*
  *  @brief	独自に用意したアクションに切り替え
  */
 public void    setAction(ref BaseAction in_act, ActionId in_id)
 {
     DebugUtils.Asseert(in_act != null);
     //
     actionList.dataList[(int)in_id].action = in_act;
     actionList.dataList[(int)in_id].flg    = true;
 }
Пример #2
0
    // Use this for initialization
    void Start()
    {
        Mesh mesh = GetComponent <MeshFilter>().mesh;

        DebugUtils.Asseert(mesh != null);
        DebugUtils.Asseert(mesh.vertices.Length == ms_vertecesNum);

        ma_tmpVerteces = mesh.vertices;
    }
Пример #3
0
    public virtual void Awake()
    {
        m_charCtrl = GetComponent <CharCtrl>() as CharCtrl;
        DebugUtils.Asseert(m_charCtrl);

        Player play = this;

        m_managerAction = new ManagerAction(ref play, ref actionList);
        DebugUtils.Asseert(m_managerAction != null);
    }