您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

14 行
258 B

  1. using System;
  2. using UnityEngine;
  3. public class EnableOnPlatform : PlatformActive
  4. {
  5. private void Awake()
  6. {
  7. base.gameObject.SetActive(this._enableOn == base.CurrentPlatform);
  8. }
  9. [SerializeField]
  10. private PlatformActive.Platform _enableOn;
  11. }