private void Start() { _navPosition = new Vec3(); _navOrientation = new Navigation.Quaternion(); _navLinearVelocity = new Vec3(); _navAngularVelocity = new Vec3(); }
private void Start() { _navPosition = new Vec3(); _navOrientation = new Navigation.Quaternion(); _navLinearVelocity = new Vec3(); _navAngularVelocity = new Vec3(); if (GetComponent <Rigidbody>() != null) { _rigidBody = GetComponent <Rigidbody>(); } }