protected LaserLogicBase(eSegmentEntity segmentEntity, SpawnableObjectEnum spawnableObject, Int64 x, Int64 y, Int64 z, UInt16 cube, Byte flags, UInt16 value, Segment segment, LogicNode <Byte> node) : base(segmentEntity, spawnableObject, x, y, z, cube, flags, value, Vector3.zero, segment) { _node = node; mbNeedsLowFrequencyUpdate = true; mbNeedsUnityUpdate = true; UpdateRotation(flags); }
protected void Dump(SpawnableObjectEnum spawnable) { if ((int)spawnable >= SpawnableObjectManagerScript.instance.maSpawnableObjects.Length) { return; } GameObject go = SpawnableObjectManagerScript.instance.maSpawnableObjects[(int)spawnable]; if (go != null) { file.WriteLine($"== {spawnable} =="); DumpGameObject(go, " "); file.WriteLine("\n"); } }
protected LogicLaserOneInput(eSegmentEntity segmentEntity, SpawnableObjectEnum spawnableObject, Int64 x, Int64 y, Int64 z, UInt16 cube, Byte flags, UInt16 value, Segment segment, LogicNode <Byte> node) : base(segmentEntity, spawnableObject, x, y, z, cube, flags, value, segment, node) { UpdateFaces(flags); }
public MachineRegistration(Type type, SpawnableObjectEnum objectType) { this.type = type; this.objectType = objectType; }
public FCESegmentEntityAttribute(string key, SpawnableObjectEnum objectType) { this.key = key; this.objectType = objectType; }