---
title: "Malindu Kumaradasa (@malindurk) | Hashnode"
description: "Self-taught Unity developer. Loves playing games, and making them. Read the latest articles by Malindu Kumaradasa on Hashnode."
url: "https://hashnode.com/@malindurk"
---

@malindurk

# Malindu Kumaradasa

@malindurk · Joined November 2023

Self-taught Unity developer. Loves playing games, and making them.

[Website](https://malindurk.itch.io/)

### [Creating a custom PlayClipAtPoint function](https://theredmark.hashnode.dev/creating-a-custom-playclipatpoint-function?utm_source=hashnode&utm_medium=feed)

The AudioSource.PlayClipAtPoint() function doesn't let us have a lot of control over the Audio Source itself. So I created a custom class for this. using UnityEngine; using UnityEngine.Audio; public class AudioClipPlayer : MonoBehaviour { \[Head...

1 min read · [theredmark.hashnode.dev](https://theredmark.hashnode.dev/creating-a-custom-playclipatpoint-function?utm_source=hashnode&utm_medium=feed)

[Apr 21, 2024](https://hashnode.com/posts/creating-a-custom-playclipatpoint-function/6624a11b7cc8f8c1304b7924)

### [Unity: Hierarchy filling up with "New Game Object" objects](https://theredmark.hashnode.dev/unity-hierarchy-filling-up-with-new-game-object-objects?utm_source=hashnode&utm_medium=feed)

What causes this and how to fix it

2 min read · [theredmark.hashnode.dev](https://theredmark.hashnode.dev/unity-hierarchy-filling-up-with-new-game-object-objects?utm_source=hashnode&utm_medium=feed)

[Apr 21, 2024](https://hashnode.com/posts/unity-hierarchy-filling-up-with-new-game-object-objects/66248f914da283f1d9712478)

### [Basic tower targeting system](https://theredmark.hashnode.dev/basic-tower-targeting-system?utm_source=hashnode&utm_medium=feed)

When I first released the game, the enemy targeting system for the towers in Hyper Towers was to target whoever had the least displacement to the player's base. Today, I improved it a little bit, but it works a lot better now. I'm not sure how much o...

3 min read · [theredmark.hashnode.dev](https://theredmark.hashnode.dev/basic-tower-targeting-system?utm_source=hashnode&utm_medium=feed)

[Dec 5, 2023](https://hashnode.com/posts/basic-tower-targeting-system/656ed75a0c4b07f1ce65fd62)

### [Things I've learned](https://theredmark.hashnode.dev/things-ive-learned?utm_source=hashnode&utm_medium=feed)

A collection of small things I've learned through the development of the tutorial level of Hyper Towers

3 min read · [theredmark.hashnode.dev](https://theredmark.hashnode.dev/things-ive-learned?utm_source=hashnode&utm_medium=feed)

[Dec 4, 2023](https://hashnode.com/posts/things-ive-learned/656d75dd98b72277b7a213d6)

### [Using script referencing rather than events and delegates](https://theredmark.hashnode.dev/script-referencing-vs-events-and-delegates?utm_source=hashnode&utm_medium=feed)

Initially, I only knew about using events and delegates to call a function from another script. I used it in all my earlier projects and this one as well. But I still don't quite understand how it works. Then I came across the other approach; Referen...

1 min read · [theredmark.hashnode.dev](https://theredmark.hashnode.dev/script-referencing-vs-events-and-delegates?utm_source=hashnode&utm_medium=feed)

[Dec 4, 2023](https://hashnode.com/posts/script-referencing-vs-events-and-delegates/656d7362145c63b54ef26028)
