35 if (componentOnFire !=
null) {
49 base.Load(valuesDictionary);
ComponentCreature ComponentCreature
virtual void RemoveActiveTool(int removeCount)
virtual object Raycast(Ray3 ray, RaycastMode mode, bool raycastTerrain=true, bool raycastBodies=true, bool raycastMovingBlocks=true, float? Reach=null)
发出射线检测,检测玩家点击到的目标
virtual void SetOnFire(ComponentCreature attacker, float duration)
SubsystemExplosivesBlockBehavior m_subsystemExplosivesBlockBehavior
override bool OnUse(Ray3 ray, ComponentMiner componentMiner)
SubsystemFireBlockBehavior m_subsystemFireBlockBehavior
SubsystemGameInfo m_subsystemGameInfo
SubsystemAudio m_subsystemAudio
override int[] HandledBlocks
override void Load(ValuesDictionary valuesDictionary)
Component FindComponent(Type type, string name, bool throwOnError)
ValuesDictionary ValuesDictionary