コード例 #1
0
 void Start()
 {
     if (IsEnabled)
     {
         mouseSource = InputSources.Instance.mouse;
     }
     else
     {
         mouseSource = gameObject.AddComponent <InputSourceMouseDisabled>();
     }
 }
コード例 #2
0
 void Start()
 {
     mouseSource = InputSources.Instance.mouse;
 }