示例#1
0
 void Awake()
 {
     _dataObject      = GetComponent <DataObject>();
     _collisionStick  = GetComponent <CollisionStick>();
     _fruitContainer2 = GetComponent <FruitContainer2>();
     _stickMoveSystem = GetComponent <Stick>();
 }
示例#2
0
 protected override void Start()
 {
     base.Start();
     _container2 = GetComponent <FruitContainer2>();
     _dataObj    = GetComponent <DataObject>();
 }