LoginSignup
1
1

More than 5 years have passed since last update.

using System;using UnityEngine;したときのObject

Posted at

Unityで
System.ConvertとかSystem.ActionとかSystem.DateTimeとかSystem.ExceptionとかSystem.IDisposableとか使うようなプログラムを書いていると
using System;を書きたくなる。

しかし
using System;してしまうと
Objectと書くときいちいちUnityEngine.Objectと書かなければいけなくなる。

そんな場合は
using UniObject = UnityEngine.Object;と書いておくとUnityEngine.Objectの代わりにUniObjectと書くだけでよくなるので、便利。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1