Answers for "untiy intercafe"

0

untiy intercafe

using UnityEngine;
using System.Collections;

//This is a basic interface with a single required
//method.
public interface IKillable
{
    void Kill();
}

//This is a generic interface where T is a placeholder
//for a data type that will be provided by the 
//implementing class.
public interface IDamageable<T>
{
    void Damage(T damageTaken);
}
Posted by: Guest on July-02-2021

Browse Popular Code Answers by Language