示例#1
0
 protected override void Initialize()
 {
     _honey_Object = GameObject.Find("Honey");
     _honey        = _honey_Object.GetComponent <HoneyAttach>();
     base.Initialize();
     BearAnimationChange(BEAR.BEAR_NORMAL);
 }
示例#2
0
    protected override void Initialize()
    {
        _bearObject = GameObject.Find("Bear");
        _bear       = _bearObject.GetComponent <BearAttach>();

        _honeyObject = GameObject.Find("Honey");
        _honey       = _honeyObject.GetComponent <HoneyAttach>();

        _seObject = GameObject.Find("SEManager");
        _se       = _seObject.GetComponent <SoundEffectManager>();
    }