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.

16 lines
383 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. // Debug.Log ("creating wave");
  10. water.CreateWave (transform.position, splashRadius, splashPower);
  11. }
  12. }