示例#1
0
        // Use this for initialization
        void Start()
        {
            trigger = GetComponent<Triggers.Collider>();

            if (_powered)
                powered.Invoke();
            else
                unpowered.Invoke();
        }
示例#2
0
 void Start()
 {
     trigger = GetComponent<Triggers.Collider>();
 }