Answers for "unity get sign of number"

C#
0

unity get sign of number

using UnityEngine;public class Example : MonoBehaviour
{
    void Start()
    {
        Debug.Log(Mathf.Sign(-10));
        Debug.Log(Mathf.Sign(10));
    }
}
Posted by: Guest on January-29-2021

Code answers related to "unity get sign of number"

C# Answers by Framework

Browse Popular Code Answers by Language