Be the first to post for 'Using Interfaces In C'!

If you’re reading this, there probably aren’t very many posts yet. But don’t worry, you can be the first! Either create a new post or just reply to this one to say ‘hi’.

The package isn’t attached to the lecture fellas.

1 Like

It isn’t indeed, but where is it then…?

1 Like

It appears to be there now.

1 Like

It was added this morning :slight_smile:

Thank you for a simple (mini) challenge! It’s been few and far between being able to complete code challenges so it’s become quite demoralising. Sure, it was insanely easy but it was a much needed small win for me.

1 Like
public class Projectile : MonoBehaviour {

    private void OnTriggerEnter(Collider other)
    {
        print(other.name);
    }
}
public class Projectile : MonoBehaviour {

    private void OnTriggerEnter(Collider other)
    {
        print(name + " has hit " + other.name);
    }
}

Privacy & Terms