public IEnumerator DraGunRoomStartHook(DraGunRoomPlaceable self) { //AssetBundle sharedAssets = ResourceManager.LoadAssetBundle("shared_auto_001"); //GameObject dragunroomplaceable = sharedAssets.LoadAsset<GameObject>("dragunroomplaceable"); //MovingPlatform deathBridge = dragunroomplaceable.GetComponentInChildren<MovingPlatform>(); ////Debug.Log("DraGunRoomStartHook"); //FieldInfo field = typeof(DraGunRoomPlaceable).GetField("m_deathBridge", BindingFlags.Instance | BindingFlags.NonPublic); //field.SetValue(self, deathBridge); yield return(null); yield break; }
public void DraGunRoomUpdateHook(DraGunRoomPlaceable self) { //Debug.Log("DraGunRoomUpdateHook"); }