You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
352 B

  1. using System;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. using UnityEngine;
  5. public abstract class HeavyObject : WaterObject {
  6. public float splashRadius;
  7. public float splashPower;
  8. public override void OnWaterEnter(WaterController water) {
  9. water.CreateWave(transform.position,splashRadius,splashPower)
  10. }
  11. }