|
Battle Talent
V11
|
Inherits MonoBehaviour.
Public Types | |
| enum class | State { Idle , Connected , Locked } |
Public Member Functions | |
| ScabbardUser | GetUser () |
| bool | IsConnect () |
| void | BuildConnect (ScabbardUser scabbardUser, Rigidbody rb) |
| void | LockWithSword (bool isLock) |
| void | DisconnectWithOther () |
| void | LocalDisconnectWithOther () |
| void | ConnectWithSword (ScabbardUser user) |
| void | OnBuy () |
| void | NetworkUpdateDepth (bool scabbardGrab, float depth, int netId) |
| void | NetworkIdleToConnectState (ScabbardUser scabbardUser) |
| void | NetworkIgnoreCollisionWithScabbardGrabHand (bool isIgnore) |
Public Attributes | |
| string | swordType |
| bool | isTwoSide = true |
| Transform | entryPoint |
| InteractBase | ib |
| float | pForce = 10000 |
| float | eForce = 10000 |
| float | maxScrollForce = 10000 |
| float | scrollForceOnSlot = 15000 |
| float | breakForce = 3000 |
| float | dragLength = 0.1f |
| float | maxAngle = 30 |
| float | jointZOffset = 0.2f |
| float | jointXOffset = 0.3f |
| SoundEffectInfo | outScabbardLowSound |
| SoundEffectInfo | outScabbardLoudSound |
| SoundEffectInfo | slideSound |
| SoundEffectInfo | metalSound |
| SoundEffectInfo | onSheathSound |
| ParticleSystem | slideVisualEffect |
Protected Member Functions | |
| void | Awake () |
| void | OnDestroy () |
Properties | |
| ScabbardUser | ScabbardUser [get] |
| bool | IsIn [get] |
Events | |
| System.Action< State, State > | OnStateChangeEvent |
| System.Action< ScabbardUser > | OnSetScabbardUserEvent |