//控制陷阱的显示相机和一些. // Use this for initialization void Start() { TriggerShowControl = this; GameObject.DontDestroyOnLoad(gameObject); foreach (var son in mControlList) { GameObject.DontDestroyOnLoad(son); } Terrain = GameObject.Find("Terrain"); Show(false); }
public override int GetHashCode() { int hash = 1; if (UserId != 0) { hash ^= UserId.GetHashCode(); } if (TriggerShow != 0) { hash ^= TriggerShow.GetHashCode(); } if (ResetTime != 0L) { hash ^= ResetTime.GetHashCode(); } if (BgPicId != 0) { hash ^= BgPicId.GetHashCode(); } return(hash); }