Inherits CrossLink.PhysicsUnit.
Inherited by CrossLink.AchievementBoard, CrossLink.AchievementRoom, CrossLink.BlessingSelectorHub, CrossLink.BuffSelectorHub, CrossLink.Cannon, CrossLink.CoinSpawnHub, CrossLink.CurseStatue, CrossLink.DestructibleObj, CrossLink.DungeonShop, CrossLink.DynamicBrick, CrossLink.DynamicDestructibleObj, CrossLink.DynamicParkourScene, CrossLink.DynamicScene, CrossLink.DynamicWallBricks, CrossLink.FloatingGiganticStones, CrossLink.FloatingSceneObj, CrossLink.FlyControl, CrossLink.FlyCurveSetup, CrossLink.FracturedObj, CrossLink.GamblingMachine, CrossLink.InteractHookRoot, CrossLink.ItemSpawnHub, CrossLink.IvyObj, CrossLink.LiftPlatform, CrossLink.PhysicsAlbum, CrossLink.ReboundStone, CrossLink.ReboundStoneSpawner, CrossLink.RogueAchievementBoard, CrossLink.RogueLevelSelectorHub, CrossLink.SceneDeco, CrossLink.SceneLODObj, CrossLink.SceneUI, CrossLink.SkyThunderCaster, CrossLink.SlidingWall, CrossLink.StabableObj, CrossLink.StoneGate, CrossLink.TeleportCircle, CrossLink.WeaponDecomposition, CrossLink.WeaponEmpower, CrossLink.WeaponSpawnBoard, and CrossLink.WeaponSpawnHub.
|
virtual bool | AddTriggerSphereIfNeed () |
|
virtual void | SetLodLevel (LodLevel l) |
|
virtual void | DoDamage (Transform hitTrans, Vector3 point, Vector3 relaVec) |
|
void | DoDamage (Collision c) |
|
virtual void | InitFromDungen (TileBase t) |
|
virtual string | OutputInfo () |
|
void | MarkAtkIntention (float offset=0) |
|
bool | HasAtkIntention (float interval=0.3f) |
|
void | OnSandboxSpawn () |
|
bool | IsStaticScene () |
|
bool | HasMovableRigidbody () |
|
bool | IsScene () |
|
virtual void | SetAttachable (bool b) |
|
virtual bool | CanBeAttached () |
|
List< PhysicsUnit > | GetAttachedList () |
|
bool | IsAttached () |
|
void | ClearAllAttachs () |
|
virtual void | OnAttachBuild (PhysicsUnit pu, ConfigurableJoint joint, Rigidbody part) |
|
virtual void | OnAttachBreak (PhysicsUnit pu, ConfigurableJoint joint, Rigidbody part) |
|
PhysicsUnit | GetRootPu () |
|
virtual Transform | GetPositionTransform () |
|
Rigidbody[] | GetRBs (bool forceUpdate=false) |
|
bool | ContainRB (Rigidbody rb) |
|
void | ModifyMassCenter (Vector3 mcenter, float sec=0.2f) |
|
float | GetTotalMass () |
|
virtual void | ChangeVelocity (Vector3 vel) |
|
virtual void | AddForceOnPart (Rigidbody part, Vector3 force, ForceMode fm=ForceMode.Impulse) |
|
virtual void | AddTorqueOnPart (Rigidbody part, Vector3 torque, ForceMode fm=ForceMode.Impulse) |
|
virtual void | AddForce (Vector3 force, ForceMode fm=ForceMode.Impulse) |
|
virtual void | AddTorque (Vector3 torque, ForceMode fm=ForceMode.Impulse) |
|
void | SetRBCols (bool col) |
|
void | SetKinematic (bool kine) |
|
void | DisableGravityAWhile (float sec=0.12f) |
|
void | ClearDisableGravity () |
|
Collider[] | GetCols (bool forceUpdate=false) |
|
CollisionEffect | GetCollisionEffect () |
|
CollisionEffect[] | GetCollisionEffects () |
|
string | GetNameWithoutClone () |
|
void | EnableCollisionEffectSensitive (bool s) |
|
RagdollHitInfoRef | GetRagdollHitInfoRef () |
|
RagdollHitInfoObj | GetRagdollHitInfoObj () |
|
RagdollHitInfo | GetRagdollHitInfo () |
|
StabObject | GetStabObject () |
|
GazeObj | GetGazeObj () |
|
virtual bool | IsDead () |
|
virtual void | Dead (bool destroy=true) |
|
virtual void | OnCollisionWithHitScan (Rigidbody rb, Collider col, Vector3 point, Vector3 normal, Vector3 relaVel) |
|
virtual void | OnCull (TileBase tile) |
|
virtual void | OnRetain (TileBase tile) |
|
TileBase | GetCurrentEnterTile () |
|
virtual bool | OnEnter (TileBase tile) |
|
virtual bool | OnExit (TileBase tile) |
|
virtual void | DoCull (TileBase tile) |
|
virtual void | DoRetain (TileBase tile) |
|
TileBase | CalcCurrentTile () |
|
|
SceneObj[] | subObjs |
|
CharacterStat | hp = new CharacterStat(100) |
|
TileBase | belongTile = null |
|
bool | faceToTileDoor = false |
|
WaveGenerator[] | overrideTileWave |
|
GameObject[] | disableWhenSandboxSpawnList |
|
Tagger.Tag | unitType |
|
System.Action< PhysicsUnit, ConfigurableJoint, Rigidbody > | OnAttachBuildEvent |
|
System.Action< PhysicsUnit, ConfigurableJoint, Rigidbody > | OnAttachBreakEvent |
|
Transform | trans |
|
Rigidbody | rb |
|
|
void | Awake () |
|
void | OnDestroy () |
|
virtual void | OnHit (float dmg) |
|
void | Awake () |
|
void | OnDestroy () |
|
virtual void | OnDead () |
|
virtual bool | NeedToClearParent () |
|
|
System.Action | HitEvent |
|
System.Action< PhysicsUnit > | DeadEvent |
|
System.Action< PhysicsUnit, Rigidbody, Collider, Vector3, Vector3, Vector3 > | OnHitScanEvent |
|
|
static void | ClearRecordData () |
|
static List< PhysicsUnit > | GetTagedPhysicsUnit (Tagger.Tag t) |
|
static void | FitInTagList (PhysicsUnit pu, bool fitIn) |
|
static void | Reg (PhysicsUnit pu) |
|
static void | RegTrans (PhysicsUnit pu, Transform trans) |
|
static void | UnReg (PhysicsUnit pu) |
|
static void | UnRegTrans (PhysicsUnit pu, Transform trans) |
|
static void | RegAll (PhysicsUnit pu) |
|
static void | UnRegAll (PhysicsUnit pu) |
|
static PhysicsUnit | GetPhysicsUnit (Collider col, bool checkRoot=true) |
|
static PhysicsUnit | GetPhysicsUnit (Transform trans, bool checkRoot=true) |
|
static bool | IsSceneLayer (Transform trans) |
|
static bool | IsScene (Collider col) |
|
static PhysicsUnit | Query (Transform trans) |
|
static List< PhysicsUnit > | QueryInRadiusTemp (Vector3 pos, float radius) |
|
static List< PhysicsUnit > | QueryLogicTargetInRadiusTemp (Vector3 pos, float radius) |
|
static bool | IsStaticScene (GameObject go) |
|