コード例 #1
0
    public void init()
    {
        if (!m_is_init)
        {
            m_effects             = new Dictionary <string, cRunEffect>();
            m_effects_for_replace = new Dictionary <string, cRunEffect>();
            m_effects_for_break   = new Dictionary <string, effectConfig>();

            m_effects_storage = GetComponent <effectsStorage>();
            Utilities.setTrailSystem(m_trail_system);
            m_is_init = true;
        }
    }
コード例 #2
0
    void Start()
    {
        m_effects_storage = m_effect_manager.GetComponent <effectsStorage>();
        openCanvas(m_canvas_main);
        selectGroup(1);

        //test

        /*int id = m_trail_system.addTrail();
         * if (id != 0)
         * {
         *  m_trail_system.AddPointToTrail(id, new Vector3(100, 100, 0));
         *  m_trail_system.AddPointToTrail(id, new Vector3(200, 200, 0));
         *  m_trail_system.AddPointToTrail(id, new Vector3(300, 300, 0));
         * }
         * id = m_trail_system.addTrail();
         * if (id != 0)
         * {
         *  m_trail_system.AddPointToTrail(id, new Vector3(100, -100, 0));
         *  m_trail_system.AddPointToTrail(id, new Vector3(200, -200, 0));
         *  m_trail_system.AddPointToTrail(id, new Vector3(300, -300, 0));
         * }*/
    }