Пример #1
0
 //Attempt to register with the physics world
 protected virtual void Awake()
 {
     BulletPhysicsWorldManager.Register(this);
     BRigidBody = GetComponent <BulletRigidBody>();
 }
Пример #2
0
 protected virtual void Awake()
 {
     _rigidbody = GetComponent <BulletRigidBody>();
 }