コード例 #1
0
    /*public override void OnStartClient()
     * {
     *      DeserializeDataStream(m_dataStream);
     * }*/

    public void SubscribeEvents(GameObject subscriber)
    {
        if (m_eventSubscription != null)
        {
            m_eventSubscription.SubscribeEvents(subscriber);
            //trigger initial update events
            for (int index = 0; index < attributes.Length; index++)
            {
                TriggerEvent(attributes[index]);
            }
        }
    }