Last active
September 21, 2022 08:38
-
-
Save kudo004/460feb449988354448509dd2840f03f0 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
[SerializeField] private SwitchColor _switchColor; | |
void Start() | |
{ | |
// 現在の状態と違う色に切り替え | |
_switchColor.Switch(); | |
// trueの方に設定された色に切り替え | |
_switchColor.Switch(true); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment