update scripts
This commit is contained in:
7
Assets/Scripts/Utils/BoolToInteger.cs
Normal file
7
Assets/Scripts/Utils/BoolToInteger.cs
Normal file
@ -0,0 +1,7 @@
|
||||
public static class BoolExtension
|
||||
{
|
||||
public static int ToInt(this bool _bool)
|
||||
{
|
||||
return _bool == true ? 1 : 0;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user