乄夜 发表于 2019-10-12 00:32

地堡门

地堡门的开关速度在哪里修改啊有大佬知道没有

十五个字符 发表于 2019-10-12 12:08

BunkerDoorConfig


Door door = go.AddOrGet<Door>();
                door.unpoweredAnimSpeed = 6f; 未通电速度
                door.poweredAnimSpeed = 9f; 通电速度
                door.hasComplexUserControls = true;
                door.allowAutoControl = false;
                door.doorOpeningSoundEventName = "BunkerDoor_opening";
                door.doorClosingSoundEventName = "BunkerDoor_closing";
                door.verticalOrientation = Orientation.R90;
                Workable workable = go.AddOrGet<Workable>();
                workable.workTime = 3f;






乄夜 发表于 2019-10-12 12:49

十五个字符 发表于 2019-10-12 12:08
BunkerDoorConfig

谢谢大佬
页: [1]
查看完整版本: 地堡门