Created
June 30, 2018 12:13
-
-
Save todorok1/39c6d49446f29d03835b6f7abb448f88 to your computer and use it in GitHub Desktop.
同じコンポーネントを複数アタッチ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[DisallowMultipleComponent] | |
public class MultipleComponentTest : MonoBehaviour { | |
void Start(){ | |
Debug.Log("私が本物のMultipleComponentTestです! 信じてください!"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment