示例#1
0
        public override void Initialize()
        {
            multicopter.Initialize();

            bounds   = new Bounds(transform.position, Vector3.one * 100);
            resetter = new Resetter(transform);
        }
 public override void Initialize()
 {
     resetter = new Resetter(transform);
     vehicle  = GetComponentInChildren <Vehicle>();
     wheels   = GetComponentsInChildren <TorkWheel>();
     road     = GetComponentInChildren <Road>();
     road.Initialize();
 }
示例#3
0
 public override void Initialize()
 {
     resetter = new Resetter(transform);
     physics  = GetComponent <ArcadePhysics>();
     physics.Initialize();
 }