Battle Talent  V11
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Events | List of all members
CrossLink.SceneObj Class Reference

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.

Public Member Functions

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 ()
 

Public Attributes

SceneObj[] subObjs
 
CharacterStat hp = new CharacterStat(100)
 
TileBase belongTile = null
 
bool faceToTileDoor = false
 
WaveGenerator[] overrideTileWave
 
GameObject[] disableWhenSandboxSpawnList
 

Protected Member Functions

void Awake ()
 
void OnDestroy ()
 
virtual void OnHit (float dmg)
 

Protected Attributes

LodLevel lv
 
HitProtector hitProtector = new HitProtector()
 

Events

System.Action HitEvent
 

Additional Inherited Members