public static ObjectCollided Get(StaticObjectBehaviour sObj) { if (_Instance == null) { _Instance = new ObjectCollided(); } _Instance.CollidingObject = sObj; return(_Instance); }
public static void OnObjectCollided(ICollidable arg1, ICollidable arg2) { ObjectCollided?.Invoke(arg1, arg2); }